POV-Ray : Newsgroups : povray.newusers : Transparent Objects : Re: Transparent Objects Server Time
17 May 2024 07:45:10 EDT (-0400)
  Re: Transparent Objects  
From: Stephen
Date: 26 May 2007 18:27:54
Message: <r0dh53h9dbq1r82c3aoi66aj8opdr81no3@4ax.com>
On Sat, 26 May 2007 22:58:12 +0100, "Simon" <povray@*NOSPAM*SOWare.co.uk> wrote:

>Hi all,
>
>wonder if someone can point me in the right direction for how to fade an
>object into/out of visibility.
>
>I can do rgbt and modify the t but have some complex (for me) objects so not
>sure how to do it for the whole union'd object rather than on a per-pigment
>basis. Ideally I just want to change what % of light rays passing through
>the volume of the objects are affected by them
>
>Sorry if that was a tad unclear - Any help greatly appreciated
>
>-Simon
>
>
You could add a variable to all the rgbt values you want to fade.

#declare FadeValue =0;

colour rgbt <1.0, 0.5, 0.2, .6*FadeValue>


Regards
	Stephen


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.